/**
 * @Author: Jiang Zhongxun
 * @Date: 2024-10-06 14:20:38
 * @FilePath: /Socket/practiceProject/src/client/menu.c
 * @Description: 客户端菜单展示，初始展示登录注册菜单，根据登录的用户角色类型区分用户菜单与管理员菜单
 * @Copyright (c) 2024 by 蒋仲勋, All Rights Reserved.
 */

#include "../../include/client/menu.h"

/**
 * @description: 展示初始菜单
 * @param {*} 无参数
 * @return {*} 无返回值
 */
void initMenu(void)
{
    printf("+==================== XX 海关进出口智慧查验平台 ====================+\n");
    printf("|                                                                   |\n");
    printf("|               🛃 WELCOME TO THE PLATFORM SYSTEM 🛃                |\n");
    printf("|                                                                   |\n");
    printf("|                        1: 登录 ---  login                         |\n");
    printf("|                        2: 注册 --- register                       |\n");
    printf("|                        3: 退出 ---  quit                          |\n");
    printf("|                                                                   |\n");
    printf("|        Copyright (c) 2024 by 蒋仲勋, All Rights Reserved          |\n");
    printf("+===================================================================+\n");
    printf("---------------------------------------------------------------------\n");
}

/**
 * @description: 展示用户菜单
 * @param {*} 无参数
 * @return {*} 无返回值
 */
void userMenu(void)
{
    printf("+==================== XX 海关进出口智慧查验平台 ====================+\n");
    printf("|                                                                   |\n");
    printf("|               😊 WELCOME TO THE PLATFORM SYSTEM 😊                |\n");
    printf("|                                                                   |\n");
    printf("|                    1: 发起查验申请 --- check                      |\n");
    printf("|                    2: 查验申请记录 --- search                     |\n");
    printf("|                    3: 修改驳回申请 --- update                     |\n");
    printf("|                    4: 删除办结记录 --- delete                     |\n");
    printf("|                    5: 退出管理员端 --- quit                       |\n");
    printf("|                                                                   |\n");
    printf("|        Copyright (c) 2024 by 蒋仲勋, All Rights Reserved          |\n");
    printf("+===================================================================+\n");
    printf("---------------------------------------------------------------------\n");
}

/**
 * @description: 展示管理员菜单
 * @param {*} 无参数
 * @return {*} 无返回值
 */
void adminMenu(void)
{
    printf("+==================== XX 海关进出口智慧查验平台 ====================+\n");
    printf("|                                                                   |\n");
    printf("|               🌼 WELCOME TO THE PLATFORM SYSTEM 🌼                |\n");
    printf("|                                                                   |\n");
    printf("|                   1: 人工查验审核 --- checked                     |\n");
    printf("|                   2: 查询操作记录 --- select                      |\n");
    printf("|                   3: 修改用户密码 --- upPasswd                    |\n");
    printf("|                   4:  退出用户端  ---  quit                       |\n");
    printf("|                                                                   |\n");
    printf("|        Copyright (c) 2024 by 蒋仲勋, All Rights Reserved          |\n");
    printf("+===================================================================+\n");
    printf("---------------------------------------------------------------------\n");
}

/**
 * @description: 展示人工查验的菜单
 * @param {*} 无参数
 * @return {*} 无返回值
 */
void checkMenu(void)
{
}
